﻿using System.ComponentModel;

namespace SmartMotion.Core
{
    /// <summary>
    /// 描述一个参数的配置
    /// </summary>
    public class MethodParms
    {
        /// <summary>
        /// 参数名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 参数类型
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 选择变量：大字典.分组.变量名
        /// 手动输入变量:Helloworld
        /// </summary>
        public string VarName { get; set; }

        /// <summary>
        /// 标记变量是选择的全局变量还是手动输入的临时变量
        /// </summary>
        [Browsable(false)]
        public bool VarSelected { get; set; }
        /// <summary>
        /// 标记数组索引是选择的全局变量还是手动输入的数字索引
        /// </summary>
        [Browsable(false)]
        public bool IndexSelected { get; set; }

        public string VarGuid { get; set; }

    }
}